 
<!-- <button type="submit" style="width : 100px;float:right" class="btn btn-primary" (click)="doLogin()">
  To公司
</button> -->



<div class="tableStyle" style="margin-left: 0px;">

  <data-table class="question-bank" [isLink]="isLink" (changepage)="changepage($event)" [buttonList]="btnList" (addOpen)="addOpen($event,addModal)"
  [title]="title" [page]="page" [addButton]="btnAdd" [editButton]="btnEdit" [total]="total" [data]="data" [buttonList]="btnList"
  [arr]="arrbutes" [ButtonHeaders]="btnHeaders" [buttonstyle]="btnstyle" [sizeList]="sizeList" [paging]="paging" [pageSize]="pageSize"
  (operat)="operatData($event,editModal)" [deleteButton]="btnDelete" (deletesEmit)="deleteDatas($event)" [total]="total">
</data-table>

</div>


 <!--删除提示框-->
  <p-confirmDialog header="提示" icon="fa fa-question-circle" width="425"></p-confirmDialog>

  <!-- 添加家庭成员 style="visibility:hidden" visible-->
 <!-- <div #addModal class="modal-dialog" (click)="draggable()" style="width:700px">-->
    
    <div #addModal class="modal-dialog"   style="width:700px">  
    <div class="modal-content">
      <div class="model-header">
        <button type="button" class="close" (click)="close(addModal)">×
        </button>
        <h4 class="modal-title">
          添加学历信息
        </h4>
      </div>
      <div class="modal-body">
        <form role="form" class="form-horizontal" #addform="ngForm">          
             <div class="form-group"> 
            <div class="col-sm-6 form-inline">
              <label>证书编号：</label>
              <label>
                <input type="text" class="form-control" [(ngModel)]="educationInfo.certificateNo" name="certificateNo">
              </label>
            </div>
            <div class="col-sm-6 form-inline">
              <label>证书名称:</label>
              <label>
                <input type="text" class="form-control" [(ngModel)]="educationInfo.certificateName" name="certificateName">
              </label>
            </div>
          </div>
             <div class="form-group">
        
            <div class="col-sm-6 form-inline">
              <label>证书类型</label>
              <label>
                <input type="text" class="form-control" [(ngModel)]="educationInfo.certificateType" name="certificateType">
              </label>
            </div>
            <div class="col-sm-6 form-inline">
              <label>获取时间：</label>
              <label>
                <input type="text" class="form-control" [(ngModel)]="educationInfo.receiveTime" name="receiveTime">
              </label>
            </div>
          </div>
           <div class="form-group">
            <div class="col-sm-6 form-inline">
              <label>大学名称</label>
              <label>
                <input type="text" class="form-control" [(ngModel)]="educationInfo.universityName" name="universityName">
              </label>
            </div>
            <div class="col-sm-6 form-inline">
              <label>备注：</label>
              <label>
                <input type="text" class="form-control" [(ngModel)]="educationInfo.remark" name="remark">
              </label>
            </div>
          </div>
        </form>
      </div>
      <div class="modal-footer">
        <!-- [disabled]="!addform.form.valid" -->
        <button type="button" class="btn btn-primary" (click)="add(addModal)">
          添加
        </button>
        <button type="button" class="btn btn-default" (click)="close(addModal)">
          取消
        </button>
      </div>
    </div>
  </div>
<!--<div #editModal class="modal-dialog" (click)="draggable()">-->
   <div #editModal class="modal-dialog" >
    <div class="modal-content">

      <form>

        <div class="model-header">
          <button type="button" class="close" (click)="close(editModal)">×
          </button>
          <h4 class="modal-title">
            修改学历信息成员
          </h4>
        </div>

        <div class="modal-body">
          <div>



            <div class="form-group">
              <div class="col-sm-6">
                <label>证书编号：</label>
                <label>
                  <input type="text" id="certificateNo" class="form-control" [(ngModel)]="educationInfo.certificateNo" name="certificateNo">
                </label>
              </div>
              <div class="col-sm-6">
                <label>证书名：</label>
                <label>
                  <input type="text" class="form-control" [(ngModel)]="educationInfo.certificateName" name="certificateName">
                </label>
              </div>
             </div>

 <div class="form-group">
            <div class="col-sm-6 form-inline">
              <label>证书类型</label>
              <label>
                <input type="text" class="form-control" [(ngModel)]="educationInfo.certificateType" name="certificateType">
              </label>
            </div>
            <div class="col-sm-6 form-inline">
              <label>获取时间：</label>
              <label>
                <input type="text" class="form-control" [(ngModel)]="educationInfo.receiveTime" name="receiveTime">
              </label>
            </div>
</div>


         

           <div class="form-group">
            <div class="col-sm-6 form-inline">
              <label>大学名称</label>
              <label>
                <input type="text" class="form-control" [(ngModel)]="educationInfo.universityName" name="universityName">
              </label>
            </div>
            <div class="col-sm-6 form-inline">
              <label>备注：</label>
              <label>
                <input type="text" class="form-control" [(ngModel)]="educationInfo.remark" name="remark">
              </label>
            </div>
          </div>

 

        <div class="modal-footer">
          <!-- [disabled]="!addform.form.valid" -->
          <button type="button" class="btn btn-primary" (click)="update(editModal)">
            修改
          </button>
          <button type="button" class="btn btn-default" (click)="close(editModal)">
            取消
          </button>
        </div>

 </div>
 </div>
      </form>
    </div>
  </div>